package com.ruoyi.system.domain.vo;

import com.ruoyi.system.domain.Category;
import com.ruoyi.system.domain.Dict;
import com.ruoyi.system.domain.GoodsComment;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class GoodsDetailVo {

    private Long id;

    /**
     * 商品名
     */
    private String name;

    /**
     * 商品类型
     */
    private Long category;
    private String categoryName;

    /**
     * 库存
     */
    private Integer stock;

    /**
     * 兑换积分
     */
    private Integer points;

    /**
     * 单价
     */
    private BigDecimal price;

    /**
     * 人气指数
     */
    private Integer exponent;

    /**
     * 已售
     */
    private Integer sold;

    /**
     * 商品描述
     */
    private String remark;

    /**
     * 1=品牌，2=放心兑，3=七天无理由
     */
    private String label;

    private List<Category> categoryList;

    /**
     * 封面图
     */
    private String coverUrl;

    /**
     * 直购价
     */
    private BigDecimal directPrice;

    /**
     * 已售百分比
     */
    private Integer soldPer;

    /**
     * 好评率
     */
    private BigDecimal favorableRate;

    private Date createTime;

    private Integer status;

    private Integer isLimit;

    private String details;

    private List<GoodsSpecVo> specList;

    private List<Dict> dictList;

    private List<GoodsComment> commentList;
    private Integer commentCount;
}
